/* ========================================= */
/* ESTILOS PARA TRÁMITES DE MATRICULACIÓN    */
/* Compatible con plantillas V1 y V2         */
/* ========================================= */

/* HERO / BANNER */
.hero {
  max-width: 1100px;
  margin: 40px auto;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: white;
  padding: 50px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 4px solid #dc2626;
}

.hero.secondary {
  background: linear-gradient(135deg, #541b1b, #8a2f2f);
}

.hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 50%;
}

.hero-texto h1,
.hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: white;
}

.hero-texto p,
.hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

.hero-img img {
  width: 240px;
  border-radius: 15px;
  background: white;
  padding: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* CONTENEDOR PRINCIPAL */
.contenedor {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* TARJETAS / SECCIONES */
.tarjeta,
.section-card {
  background: white;
  margin-top: 30px;
  padding: 35px;
  border-radius: 18px;
  border-left: 6px solid #dc2626;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.tarjeta:hover,
.section-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.tarjeta h2,
.section-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.tarjeta h2 i,
.section-title i {
  color: #dc2626;
}

/* LISTAS DE REQUISITOS */
.tarjeta ul,
.requisitos-grid {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.tarjeta li,
.requisito-item {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 16px;
  padding-left: 30px;
  position: relative;
}

.tarjeta li::before,
.requisito-check {
  content: "";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
}

.requisito-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}

.requisito-check {
  position: static;
  min-width: 24px;
  height: 24px;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ELEMENTOS ADICIONALES */
.note-box {
  background: #fdf2f2;
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
  border: 1px solid #fee2e2;
  display: flex;
  gap: 15px;
  align-items: center;
}

.note-box i {
  color: #dc2626;
  font-size: 20px;
}

.btn-container {
  margin-top: 40px;
  text-align: center;
}

.btn-volver {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-volver:hover {
  background: #dc2626;
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 35px;
  }

  .hero-img img {
    width: 200px;
  }

  .tarjeta,
  .section-card {
    padding: 25px;
  }
}